import React from 'react';
import {Button as AntdButton} from 'antd-mobile';
import style from './css/LimitSpan.css';

class LimitSpan extends React.Component {
	
	render() {
		return (
			<span className={style.limitSpan + ' ' + this.props.className} style={{maxWidth: this.props.maxWidth}}>
				{this.props.children}
        	</span>
		);
	}
	
}

export default LimitSpan;